package com.poc.importacao.baseabstract;

import java.sql.ResultSet;
import java.sql.SQLException;

public abstract class BaciaManagerAbstract extends AbstractManager {

    public BaciaManagerAbstract() {
	super();
    }

    protected ResultSet getTodasBacias() throws SQLException {
	return AbstractManager.getDatabaseManager().execute(
		String.format(Setup.SELECT_TODAS_BACIAS, Setup.getCodigoTipoLugar(Setup.BACIA_HIDROGRAFICA)));
    }

    protected abstract ResultSet getRelacionados(String codLugarBaciaPrincipal) throws SQLException;

}